import request from '@/utils/request'

// 注册接口
export const userRegisterService = ({ username, password, email, phone }) =>
  request.post('/api/seeker/user/register', {
    username,
    password,
    email,
    phone
  })

// 登录接口
export const userLoginService = (info) =>
  request.post('/api/seeker/user/login', info)
